﻿Imports System.Data

Public Class ContainerSplitInfo
    'ServerHostInfo
    Private v_ServerHostInfo As ServerHostInfo

    ''' <summary>
    ''' ServerHost信息
    ''' </summary>
    ''' <value></value>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Property ServerHostInfo()
        Get
            Return v_ServerHostInfo
        End Get
        Set(ByVal value)
            v_ServerHostInfo = value
        End Set
    End Property

    '批次号
    Private v_ContainerName As String

    ''' <summary>
    ''' 批次号
    ''' </summary>
    ''' <value></value>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Property ContainerName()
        Get
            Return v_ContainerName
        End Get
        Set(ByVal value)
            v_ContainerName = value
        End Set
    End Property

    '零件编号
    Private v_ChildContainer As DataTable

    ''' <summary>
    ''' 零件编号
    ''' </summary>
    ''' <value></value>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Property ChildContainer()
        Get
            Return v_ChildContainer
        End Get
        Set(ByVal value)
            v_ChildContainer = value
        End Set
    End Property

    ''To批次信息
    Dim v_ToContainerInfo As New List(Of ToContainerInfo)

    ''' <summary>
    ''' To批次信息
    ''' </summary>
    ''' <value></value>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Property ToContainerInfo()
        Get
            Return v_ToContainerInfo
        End Get
        Set(ByVal value)
            v_ToContainerInfo = value
        End Set
    End Property
End Class

Public Class ToContainerInfo
    'To批次号
    Private v_ToContainerName As String

    ''' <summary>
    ''' To批次号
    ''' </summary>
    ''' <value></value>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Property ToContainerName()
        Get
            Return v_ToContainerName
        End Get
        Set(ByVal value)
            v_ToContainerName = value
        End Set
    End Property

    'Qty
    Private v_Qty As String

    ''' <summary>
    ''' Qty
    ''' </summary>
    ''' <value></value>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Property Qty()
        Get
            Return v_Qty
        End Get
        Set(ByVal value)
            v_Qty = value
        End Set
    End Property

    '零件编号
    Private v_ChildContainer As DataTable

    ''' <summary>
    ''' 零件编号
    ''' </summary>
    ''' <value></value>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Property ChildContainer()
        Get
            Return v_ChildContainer
        End Get
        Set(ByVal value)
            v_ChildContainer = value
        End Set
    End Property

    '子批次信息
    Private v_ChildContainers As DataTable

    ''' <summary>
    ''' 子批次
    ''' </summary>
    ''' <value></value>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Property ChildContainers()
        Get
            Return v_ChildContainers
        End Get
        Set(ByVal value)
            v_ChildContainers = value
        End Set
    End Property


    ''' <summary>
    ''' 叶片批次编号
    ''' </summary>
    ''' <remarks></remarks>
    Public Property YpContainerNo As String

    ''' <summary>
    ''' 叶片热处理号
    ''' </summary>
    ''' <remarks></remarks>
    Public Property YpHeatNo As String

    ''' <summary>
    ''' 叶片卡片号
    ''' </summary>
    ''' <remarks></remarks>
    Public Property YpContainerCardNo As String
End Class
